package com.hyl.transport;

/**
 * @description:
 * @author: molar
 * @date: Created in 2020/5/18 10:15
 * @version: v1.0
 * @modified By:
 */
public class Automobile {
    private String trId;
    private String trName;
    private String price;
    private String place;

    public void driveMethod(){
        System.out.println("drive automobile");
    }

    public Automobile() {
    }

    public Automobile(String trId, String trName) {
        this.trId = trId;
        this.trName = trName;
    }

    public Automobile(String trId, String trName, String price, String place) {
        this.trId = trId;
        this.trName = trName;
        this.price = price;
        this.place = place;
    }

    public String getTrId() {
        return trId;
    }

    public void setTrId(String trId) {
        this.trId = trId;
    }

    public String getTrName() {
        return trName;
    }

    public void setTrName(String trName) {
        this.trName = trName;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }
}
